ALTER TABLE exampletable RENAME TO new_table_name;
EXEC sp_rename 'old_table_name', 'new_table_name' Code language: SQL (Structured Query Language) (sql)
RENAME DATABASE MODIFY NAME=emptestdb;